﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using DCSLibrary;
using Telerik.Web.UI;

public partial class Admin_Module_thong_ke_truy_cap : System.Web.UI.UserControl
{
    #region Cac bien dung chung
    AnalyticsUI objAna = new AnalyticsUI();
    #endregion

    #region Cac Ham Su Kien

    protected void Page_Load(object sender, EventArgs e)
    {
        //if (!IsPostBack)
        //{
            BindGrid();
        //}
    }

    protected void Ajax_Request(object sender, AjaxRequestEventArgs e)
    {
        if (e.Argument == "Rebind")
        {
        }
    }

    #endregion

    #region Cac Ham Tuong Tac Du Lieu

    private void BindGrid()
    {
        DataSet ds = objAna.GetAll();
        grd.DataSource = ds.Tables[0];
        grd.DataBind();
    }

    #endregion
}
